<?php
$key = ftok("48.php","x");
echo $shm_id = shm_attach($key,128);

echo shm_put_var($shm_id,1,"a");
echo "\r\n";
echo shm_get_var($shm_id,1);

shm_remove($shm_id);